//
//  OpCycleCell.m
//  LoveBeeProject
//
//  Created by skywalker on 17/1/8.
//  Copyright © 2017年 斯芬克斯. All rights reserved.
//

#import "OpCycleCell.h"
@interface OpCycleCell()
@property (nonatomic, weak) UIImageView* imageView;
@end
@implementation OpCycleCell
- (void)awakeFromNib {
    [super awakeFromNib];
    [self setupUI];
}
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self setupUI];
    }
    return self;
}

- (void)setupUI {
    UIImageView *imageView = [[UIImageView alloc] init];
    [self.contentView addSubview:imageView];
    self.imageView = imageView;
    
    [imageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.offset(0);

    }];
}
- (void)setImageData:(UIImage *)imageData {
    _imageData= imageData;
    self.imageView.image = imageData;
}


@end
